
<script type='text/javascript'>
	function loginVk()
	{
		window.open(	"http://oauth.vk.com/authorize?client_id={{app_id}}&redirect_uri=http://{{domain}}/myauth/vk&response_type=code&display=popup", 
						"{{window_title}}",
						"width=400,height=400"
						 ); 
	}
</script>